call copy /Y D:\workspace\sw\start.jar D:\WEB\
cd D:\WEB
call jarsigner -keystore c:\mykeystore\pastoral.jks -storepass 123456 -keypass 123456 -signedjar start1.jar start.jar pastoral 
call copy D:\WEB\start1.jar D:\workspace\test\WebRoot\
if exist D:\workspace\test\WebRoot\start.jar del D:\workspace\test\WebRoot\start.jar
ren D:\workspace\test\WebRoot\start1.jar start.jar
call copy /Y D:\workspace\test\WebRoot\start.jar D:\workspace\.metadata\.me_tcat\webapps\test\
call copy /Y D:\workspace\test\WebRoot\start.jar F:\jboss-4.2.2.GA\server\default\deploy\jboss-web.deployer\ROOT.war\pms\
call copy /Y D:\workspace\test\WebRoot\start.jar E:\jboss-4.2.2.GA\server\all\deploy\jboss-web.deployer\ROOT.war\pms\
call copy /Y D:\workspace\test\WebRoot\start.jar E:\jboss-4.2.2.GA\server\all\deploy\jboss-web.deployer\ROOT.war\crs\
call copy /Y D:\workspace\test\WebRoot\start.jar E:\jboss-4.2.2.GA\server\default\deploy\jboss-web.deployer\ROOT.war\pms\
if exist "C:\Documents and Settings\Administrator\Application Data\Sun\Java\Deployment\cache\6.0" goto deletefi
pause
goto end

:deletefi
pushd C:\Documents and Settings\Administrator\Application Data\Sun\Java\Deployment\cache
call rmdir /s/Q 6.0
popd
pause
goto end